
#---------------------------------------------------------------------------
# user's config
#---------------------------------------------------------------------------
#TARGET_OS := qnx
TARGET_TOOLS_PREFIX := 

#base common flags(both c and c++)
#DEFAULT_COMMON_FLAGS := -O2 -fno-stack-protector -EL -DNDEBUG -DVARIANT_le -DVARIANT_v7 -DBUILDENV_qss -D_GLIBCXX_USE_NANOSLEEP
#DEFAULT_COMMON_FLAGS := -O2 -fstack-protector-all -EL -DNDEBUG -DVARIANT_le -DVARIANT_v7 -DBUILDENV_qss -D_GLIBCXX_USE_NANOSLEEP

#macro for qnx
DEFAULT_COMMON_FLAGS += -D_QNX_SOURCE -Wall  -Wno-parentheses -Wno-psabi -DUSE_POSIX_DLL_API -O2 -fstack-protector-all


THIRDPARTYDIR :=

#the include path of third party library
THIRD_PARTY_INCS := 

					 
#the lib path of third party

LIBPATH := 
					 
#for the path of qnx libcpp header file(not use standard include path) 
#DEFAULT_COMMON_FLAGS += -I$(QNX_TARGET)/usr/include 
#DEFAULT_COMMON_FLAGS += -I$(QNX_TARGET)/usr/include/cpp
#DEFAULT_COMMON_FLAGS += -I$(QNX_TARGET)/usr/include/cpp/c
DEFAULT_COMMON_FLAGS += $(THIRD_PARTY_INCS) 


DEFAULT_CXXFLAGS := -std=c++11 -Wl,Wall -Wno-reorder


DEFAULT_LDFLAGS := $(LIBPATH) -lstdc++ -lc -lm -ldl -lpthread 
